import 'package:fate_blind_box/model/chat_friend_message_entity.dart';
import 'package:flutter/material.dart';
import 'package:get/get_rx/src/rx_types/rx_types.dart';
import 'package:im_flutter_sdk/im_flutter_sdk.dart';
import 'package:just_audio/just_audio.dart';

class SystemChatMessageState {

  /// 会话Id
  String conversationId = '';
  /// 会话
  EMConversation? conversation;
  /// 消息列表
  RxList<EMMessage> messageList = <EMMessage>[].obs;
  /// 当前好友信息
  Rx<ChatFriendMessageEntity?> model = Rx(null);
  /// 声音播放器
  final player = AudioPlayer();

  ScrollController controller = ScrollController();

  SystemChatMessageState() {
    ///Initialize variables
  }
}
